<div class="input-group">
    <input type="text" class="form-control" datepicker-popup="{{format}}"
           ng-model="ngModel" is-open="isOpened" datepicker-options="dateOptions" ng-required="isRequired"
           current-text="现在" clear-text="清空" close-text="关闭" max-date="maxDate" min-date="minDate"
           placeholder="{{placeHolder}}" ng-focus="openDate($event)"/>
    <span class="input-group-btn">
        <button type="button" class="btn btn-default" ng-click="openDate($event)"><i
                class="glyphicon glyphicon-calendar"></i></button>
    </span>
</div>
